Yoast\WP\Duplicate_Post\Permissions_Helper S

Total Complexity 45
Dependencies 2
Dependents 23
Total lines 283
Lines of code 115
Logical lines of code 61
Comment lines 124
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
has_original_changed()
S
60 5 13
has_trashed_rewrite_and_republish_copy()
S
62 4 11
is_classic_editor()
S
64 4 10
should_rewrite_and_republish_be_allowed()
S
70 4 6
is_elementor_active()
S
62 3 11
post_type_has_admin_bar()
S
68 3 7
should_links_be_displayed()
S
73 3 4
is_new_post_screen()
S
68 3 7
is_edit_post_screen()
S
67 3 7
has_scheduled_rewrite_and_republish_copy()
S
68 3 7
get_rewrite_and_republish_copy()
S
69 2 7
get_enabled_post_types()
S
68 2 7
is_post_type_enabled()
S
78 1 3
has_rewrite_and_republish_copy()
S
79 1 3
get_rewrite_and_republish_copy_id()
S
78 1 3
is_rewrite_and_republish_copy()
S
77 1 3
is_copy_allowed_to_be_republished()
S
78 1 3
is_current_user_allowed_to_copy()
S
80 1 3